//
//  LBUserManage.h
//  PandaTakeaway
//
//  Created by smufs on 2017/6/13.
//  Copyright © 2017年 李冰. All rights reserved.
//
//zhangjun 123456 test
#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
#import "UserModel.h"
extern NSString * const kHormoneIMConnectSuccessNotification;

@interface LBUserManage : NSObject

@property (nonatomic, copy, readonly) void (^verificationBlock)(BOOL isLogin);

// location service
@property (nonatomic, strong) CLLocation *location;

// user information
@property (nonatomic, strong) UserModel *userModel;
@property (nonatomic, strong) NSString *user_id;
@property (nonatomic, strong) NSString *memberId;
@property (nonatomic, strong) NSString *mobileNumber;
@property (nonatomic, strong) NSString *sellerId;

// either rong cloud login
@property (nonatomic, assign, readonly) BOOL isLogin_RC;

+ (instancetype) defaultManager;

- (void) verificationUserLogin:(void(^)(BOOL isLogin)) block;

// 当登录后 务必调用该方法
- (void) callBackLoginBlock:(BOOL) isSuccess;

- (void) setupManager;

- (void) logout;

@end
